package com.travelzen._21.concurrent;

public class SimplePriorities implements Runnable {

	private int countDown = 5;

	private volatile double d;

	private int priority;

	public SimplePriorities(int priority) {
		this.priority = priority;
	}

	public String toString() {
		return Thread.currentThread() + ": " + countDown;
	};
	@Override
	public void run() {
		Thread.currentThread().setPriority(priority);
	}

}
